package com.jky.trial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Device extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private Integer comId;
    private String desc;
    private String no;
    private String creatorId;
    private Integer order;
    private Integer type;
    private Boolean deleted;//
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
    private Boolean inStoreStatus;
    private Date lastLoanAt;
}